MediaWiki API ็ตๆžœ

้€™ๆ˜ฏJSONๆ ผๅผ็š„HTMLๅฏฆ็พใ€‚HTMLๅฐ้™ค้Œฏๅพˆๆœ‰็”จ๏ผŒไฝ†ไธ้ฉๅˆๆ‡‰็”จ็จ‹ๅผไฝฟ็”จใ€‚

ๆŒ‡ๅฎšformatๅƒๆ•ธไปฅ่ฎŠๆ›ด่ผธๅ‡บๆ ผๅผใ€‚่ฆๆŸฅ็œ‹JSONๆ ผๅผ็š„้žHTMLๅฏฆ็พ๏ผŒ่จญๅฎšformat=jsonใ€‚

ๅƒ่ฆ‹ๅฎŒๆ•ดๆ–‡ไปถ๏ผŒๆˆ–API่ชชๆ˜Žไปฅๅ–ๅพ—ๆ›ดๅคš่ณ‡่จŠใ€‚

{
    "error": {
        "code": "mustpostparams",
        "info": "The following parameter was found in the query string, but must be in the POST body: token.",
        "*": "See https://wiki.llsif.moe/api.php for API usage. Subscribe to the mediawiki-api-announce mailing list at <https://lists.wikimedia.org/postorius/lists/mediawiki-api-announce.lists.wikimedia.org/> for notice of API deprecations and breaking changes."
    },
    "warnings": {
        "main": {
            "*": "Subscribe to the mediawiki-api-announce mailing list at <https://lists.wikimedia.org/postorius/lists/mediawiki-api-announce.lists.wikimedia.org/> for notice of API deprecations and breaking changes."
        },
        "userrights": {
            "*": "The parameter \"userid\" has been deprecated."
        }
    }
}